import { createApp } from 'vue'
import App from './App.vue'
import router from './router/router'
import './utils/rem'
import 'vite-plugin-svg-icons/register';
import svgIcon from './components/SvgIcon/index.vue' // 全局svg图标组件
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import "./assets/css/global.scss"

import store from './store'
const app = createApp(App).component('svg-icon', svgIcon)
app.use(ElementPlus)
app.use(store)
app.use(router).mount('#app')